package com.alibaba.ecool.dao.impl;

import java.util.List;

import org.springframework.orm.ibatis.support.SqlMapClientDaoSupport;

import com.alibaba.ecool.bean.Cloze;
import com.alibaba.ecool.bean.ClozeContent;
import com.alibaba.ecool.bean.Question;
import com.alibaba.ecool.dao.ClozeDAO;


public class ClozeDAOImpl extends SqlMapClientDaoSupport implements ClozeDAO{

	@Override
	public void deleteContent(int ID) {
		
		getSqlMapClientTemplate().delete("deleteContent", ID);
	}

	@Override
	public String getContent() {
		return (String) getSqlMapClientTemplate().queryForObject("getContent");
		// TODO Auto-generated method stub
		
	}

	@Override
	public void insertCloze(Cloze cloze) {
		this.getSqlMapClientTemplate().insert("insertCloze", cloze);
	}




	
}
